.container {
  margin-bottom: 24px;
  padding: 24px;
  border-radius: 12px;
  background-color: #fff;
  border: 1px solid #f0f0f0;
  min-height: 260px;
  height: 260px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  overflow: hidden;
  width: 100%;

  &:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: #1890ff;
  }
}

.title {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
  flex: 1;
  overflow: hidden;

  .left {
    flex: 1;
    min-width: 0;
    overflow: hidden;

    a {
      color: #333;
      text-decoration: none;
      font-size: 16px;
      font-weight: 600;
      line-height: 1.6;
      display: block;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      max-width: 100%;

      &:hover {
        color: #1890ff;
      }
    }
  }

  .right {
    flex-shrink: 0;
    text-align: right;
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.6;
    white-space: nowrap;
    
    > span {
      display: block;
      margin-bottom: 6px;
      overflow: hidden;
      text-overflow: ellipsis;
      
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.button-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
  flex-wrap: nowrap;
  flex-shrink: 0;

  .left {
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 8px;
    
    button {
      font-size: 12px;
      padding: 6px 12px;
      height: 32px;
      flex-shrink: 0;
    }
  }

  .right {
    flex: 1;
    text-align: right;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    gap: 8px;

    button {
      color: #8c8c8c;
      font-size: 12px;
      padding: 6px 12px;
      height: 32px;
      flex-shrink: 0;
      
      &:hover {
        color: #1890ff;
      }
    }
  }
}
